package com.example.springboard.service;

import com.example.springboard.entity.MyUser;
import com.example.springboard.mapper.MyUserMapper;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class MyUserService {
    @Autowired
    private MyUserMapper myUserMapper;

    public  List<MyUser> getAllUsers() {
        return myUserMapper.getAllUsers();
    }
}
